/**
 * Created by zhouli on 18/4/25
 * Email li.zhou@huilianyi.com
 */
import config from 'config';
import httpFetch from 'share/httpFetch';
import errorMessage from 'share/errorMessage';
export default {
  //搜索操作日志
  getOperationLogList(params) {
    // let params = {
    //   operationTimeFrom:"String",
    //   operationTimeTo	:"String	",
    //   operationType:"String",
    //   entityType:"String",
    //   size:"int",
    //   page:"int",
    // }
    return new Promise(function (resolve, reject) {
      httpFetch.get(config.baseUrl + '/api/dataOperation/search', params)
        .then(function (res) {
          resolve(res)
        })
        .catch(function (err) {
          errorMessage(err.response);
          reject(err.response);
        })
    })
  },







}

